<?php

declare(strict_types=1);
/**
 * This file is part of habo_new_media.
 *
 * @link     https://www.berlen.cn/
 * @contact  tech@berlen.cn
 * @license  http://gitlab.rehou.cn/habo/habo_new_media/-/blob/master/README.md
 */
namespace app\model\mongo;

class MongoOeVideoModel extends MongoInfoModel
{
    /**
     * @var int 素材质量-好
     */
    public const MATERIAL_GOOD = 1;

    /**
     * @var int 素材质量-差
     */
    public const MATERIAL_BAD = 0;

    protected $connection = 'mongodb';

    protected $name = 'oe_video';

    protected $pk = '_id';

    /**
     * 修复字段.
     * @return array|string[]
     */
    public function getRepairField(): array
    {
        return [
            'video_id',
            'account_id',
        ];
    }
}
